<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  	<base href="<%=basePath%>" />  
    <title>${applicationScope.siteTitle}</title> 
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <script src="admin/js/base/boot.js" type="text/javascript"></script> 
    <script src="admin/js/app/app.js" type="text/javascript"></script> 
    <link rel="stylesheet" type="text/css" href="admin/css/main.css">
  
</head>
<body>    
<div  class="mini-layout" style="width:100%;height:100%;">
    <div class="header" region="north" height="80" showSplit="false" showHeader="false" >
       <div style="position:relative;padding-left:20px; padding-top:20px;font-size: 25px;font-weight:bold;float:left; ">
			<img src="image/logo.png" width="50" height="40" align="absmiddle"/>
			${applicationScope.siteTitle} 后台管理平台
		</div>
		<div class="header_menu">
			<ul>
				<li>
					    <div cmd="system_message">
						<div id="system_message">5</div>
						<div class="menu_icon" style="background: url(admin/image/menu/message.png);"></div>
						<div class="icon_text">系统消息</div>
					</div>
				</li>
				<li>
					<div cmd="change_password">
						<div class="menu_icon" style="background: url(admin/image/menu/system.png);"></div>
						<div class="icon_text">修改密码 </div>
					</div>
				</li>
				<li>
					<div cmd="safe_exit">
						<div class="menu_icon" style="background: url(admin/image/menu/logout.png);"></div>
						<div class="icon_text">安全退出</div>
					</div>
				</li>
			</ul>
		</div>
    </div>
    <div title="south" region="south" showSplit="false" showHeader="false" height="30" >
        <div style="line-height:28px;text-align:center;cursor:default">
      Copyright   ©  2014 上海德立信息科技有限公司 版权所有 </div>
    </div>
    <div showHeader="false" region="west" width="180" maxWidth="250" minWidth="100" style="border:0;" >
        <!--左侧菜单-->
        <div class="mini-outlookmenu" url="debug/data/outlookmenu.txt" onitemselect="webApp.menuSelect"
            idField="id" parentField="pid" textField="text">
        </div>
    </div>
    <div title="center" region="center" bodyStyle="overflow:hidden;">
        <!--Tabs-->
        <div id="mainTabs" class="mini-tabs bg-toolbar" activeIndex="0" style="width:100%;height:100%;"  bodyStyle="border:0;background:white;"   >        
            <div title="首页" url="admin/home" >     </div>
        </div>        
    </div>
</div>
<script type="text/javascript">
	$(function(){
		$("div[cmd='safe_exit']").click(function(){
			window.location.href= "account/admin/logout";
		});
	});
</script>
</body>
</html>
